import request from '@/utils/request'

/**
 * get img Type
 * @param {*} data
 * @returns
 */
export function getimgType(data) {
  return request({
    url: '/api/getimg/type',
    method: 'post',
    data
  })
}

/**
 * upload user head
 * @param {Object} data
 */
export function uploadUserHead(data) {
  return request({
    url: '/api/uploadUserHead',
    method: 'post',
    data
  })
}

/**
 * get Questions
 * @param {Object} data
 */
export function getQuestions(data) {
	return request({
		url: '/api/getQuestions',
		method: 'post',
		data
	})
}